﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ClientLibrary;

namespace DocumentDigitalization
{
    public partial class UserControl_storefiles : UserControl
    {
        private Form form;
        SystemState Systemstate;

        public UserControl_storefiles()
        {
            InitializeComponent();
        }

        public UserControl_storefiles(Form form, SystemState systate)
        {
            InitializeComponent();
            this.form = form;
            this.Systemstate = systate;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            this.Enabled = false;
            UserControl_MainPage uc = new UserControl_MainPage(this.form, this.Systemstate);
            this.form.Controls.Add(uc);
        }
    }
}
